3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next
QuickDraw 3D provides routines that you can use to create and manipulate bitmap markers. See "Markers" for the definition of a bitmap marker.
You can use the Q3Marker_New function to create a new marker.
TQ3GeometryObject Q3Marker_New (const TQ3MarkerData *markerData);
You can use the Q3Marker_Submit function to submit an immediate marker for drawing, picking, bounding, or writing.
TQ3Status Q3Marker_Submit (
const TQ3MarkerData *markerData,
TQ3ViewObject view);
The Q3Marker_Submit function submits for drawing, picking, bounding, or writing the immediate marker whose location, shape, offset, and attribute set are specified by the markerData parameter. The marker is drawn, picked, bounded, or written according to the view characteristics specified in the view parameter.
You can use the Q3Marker_GetData function to get the data associated with a marker.
TQ3Status Q3Marker_GetData (
TQ3GeometryObject marker,
TQ3MarkerData *markerData);
You can use the Q3Marker_SetData function to set the data associated with a marker.
TQ3Status Q3Marker_SetData (
TQ3GeometryObject marker,
const TQ3MarkerData *markerData);
You can use the Q3Marker_EmptyData function to release the memory occupied by the data structure returned by a previous call to Q3Marker_GetData .
TQ3Status Q3Marker_EmptyData (TQ3MarkerData *markerData);
You can use the Q3Marker_GetPosition function to get the position of a marker.
TQ3Status Q3Marker_GetPosition (
TQ3GeometryObject marker,
TQ3Point3D *location);
You can use the Q3Marker_SetPosition function to set the position of a marker.
TQ3Status Q3Marker_SetPosition (
TQ3GeometryObject marker,
const TQ3Point3D *location);
You can use the Q3Marker_GetXOffset function to get the horizontal offset of a marker.
TQ3Status Q3Marker_GetXOffset (TQ3GeometryObject marker, long *xOffset);
You can use the Q3Marker_SetXOffset function to set the horizontal offset of a marker.
TQ3Status Q3Marker_SetXOffset (TQ3GeometryObject marker, long xOffset);
You can use the Q3Marker_GetYOffset function to get the vertical offset of a marker.
TQ3Status Q3Marker_GetYOffset (TQ3GeometryObject marker, long *yOffset);
You can use the Q3Marker_SetYOffset function to set the vertical offset of a marker.
TQ3Status Q3Marker_SetYOffset (TQ3GeometryObject marker, long yOffset);
You can use the Q3Marker_GetBitmap function to get the bitmap of a marker.
TQ3Status Q3Marker_GetBitmap (
TQ3GeometryObject marker,
TQ3Bitmap *bitmap);
The Q3Marker_GetBitmap function returns, in the bitmap parameter, a copy of the bitmap of the marker specified by the marker parameter. Q3Marker_GetBitmap allocates memory internally for the returned bitmap; when you're done using the bitmap, you should call the Q3Bitmap_Empty function to dispose of that memory.
You can use the Q3Marker_SetBitmap function to set the bitmap of a marker.
TQ3Status Q3Marker_SetBitmap (
TQ3GeometryObject marker,
const TQ3Bitmap *bitmap);
Previous | QD3D Book | Overview | Chapter Contents | Next